<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><?=Kohana::lang('common.title')?></title>
	<?=html::link('css/style.css', 'stylesheet', 'text/css')?>
	<?=html::link('css/menu.css', 'stylesheet', 'text/css')?>
</head>
<body>
<div id="header">
	<h1><?=Kohana::lang('common.title')?></h1>
	<div class="a"><?=html::anchor('common/setlang/en', 'English')?>&#160;&#160;<?=html::anchor('common/setlang/cn', '中文')?><br/><br/><?php if(isset($_SESSION['auth_user'])) { ?>You are logged in as <b><?=$_SESSION['auth_user']->username?></b><br/><?php } ?></div>
</div>
<?php echo $menu ?>
<div id="workarea"><?php echo $content ?></div>
</body>
</html>